<?php
	
	/**
	 * MVC Init File.
	 * 
	 * This file starts up the mvc system
	 *
	 * @author Brian Bal <brian@youbeqb.com>
	 * @version 1.0
	 * @package MVC
	 */
	
	
	error_reporting (E_ALL);
	if (version_compare(phpversion(), '5.1.0', '<') == true) { die ('Muse have PHP 5.1 or higher'); }
	
	// Start the Session:
	session_start();
	
	//define('SYSTEM_DIR', dirname(__FILE__) . "/");
	
	//echo "<p> PROJECT_DIR = " . PROJECT_DIR . "</p>";
	//echo "<p> SYSTEM_DIR = " . SYSTEM_DIR . "</p>";
	
	// Include Config Files
	//require(PROJECT_DIR . 'config/config.inc');
	//require(PROJECT_DIR . 'config/plugins.inc');
	//require(PROJECT_DIR . 'config/routes.inc');
	
	require(SYSTEM_DIR . "autoloader.php");
	
	// Start up the Core:
	$core = new Core($plugins, $routes);
	
?>